import pandas
from vquant.signal import Signal


class Strategy(object):
    def __init__(self, cerebro, **kwargs):
        self.cerebro = cerebro
        self.params = pandas.Series(kwargs)
        self.signal = Signal()

    @property
    def broker(self):
        return self.cerebro.broker

    @property
    def datafeed(self):
        return self.cerebro.datafeed

    def notify_order(self, order):
        pass

    def notify_position(self, position):
        pass

    def notify_snapshot(self, snapshot):
        pass

    def notify_signal(self, signal):
        pass

    def on_next(self, ticks):
        pass


__all__ = [Strategy]
